import 'package:tender_flutter/page/common/model/badge_entity.dart';

badgeEntityFromJson(BadgeEntity data, Map<String, dynamic> json) {
	if (json['num'] != null) {
		data.num = json['num'].toString();
	}
	return data;
}

Map<String, dynamic> badgeEntityToJson(BadgeEntity entity) {
	final Map<String, dynamic> data = new Map<String, dynamic>();
	data['num'] = entity.num;
	return data;
}